home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5071 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.5 KB  |  54 lines

  1. Path: news1.h1.usa.pipeline.com!usenet
  2. From: grantp@usa.pipeline.com(Pete)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Borland C++ 3.1 in Win95 ?
  5. Date: 2 Feb 1996 11:26:16 GMT
  6. Organization: Kalevi, Inc.
  7. Message-ID: <4essco$amv@news1.usa.pipeline.com>
  8. NNTP-Posting-Host: pipe10.h1.usa.pipeline.com
  9. X-PipeUser: grantp
  10. X-PipeHub: usa.pipeline.com
  11. X-PipeGCOS: (Pete)
  12. X-Newsreader: Pipeline USA v3.3.0
  13.  
  14. On Feb 02, 1996 04:49:49 in article <Borland C++ 3.1 in Win95 ?>,
  15. 'bunyip@netspace.net.au (Adrian J.F. Land)' wrote: 
  16.  
  17.  
  18. >Hi There.. 
  19. >I have just got Borland C++ 3.1 and am having a few problems 
  20. >getting it to work under Windows 95. 
  21. >When I try to compile any of the demo code, I get: 
  22. >Fatal ..\OWL\INCLUDE\OWL.H 40: Error directive: OWL applications must be
  23. built  
  24. >with either WIN30 or WIN31 defined. 
  25. >Does this mean Win95 is the problem?  If so, is there anything that I can 
  26.  
  27. >upgrade to get it working? 
  28. No.  Try defining WIN31.  You should be able to do it via 
  29. compiler options -- it's been a long time since BC31, I don't 
  30. remember the steps -- or you can define it in your source 
  31. code: 
  32.  
  33. #define WIN31 
  34. #include <owl.h> 
  35. #include <otherowlfiles.h> 
  36.  
  37. Reason:  There were major changes in the Windows 3.0 -> 
  38. 3.1 upgrade.  New API functions were added and some were 
  39. changed.  In order for OWL to know whether or not it can 
  40. use the Win 3.1 enhancements, the system needs to know 
  41. that you're not developing for the 3.0 platform.  In Win95, 
  42. 16-bit Windows programs can use the 3.1 API. 
  43.  
  44. -- 
  45. Pete Grant 
  46. Kalevi, Inc. 
  47. Object Oriented Software Development
  48.